using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace TestOverridingMethods
{
    public class CConcreteTest : CAbstractTest
    {

        protected Texture2D concreteTexture = null;

        public CConcreteTest(SpriteFont p_font, Texture2D pTexture, Texture2D newTexture)
            : base(p_font, pTexture)
        {
            concreteTexture = newTexture;
        }

        public override void makesThisClassAbstract()
        {
            String implementPls = "Here is my implementation";
            if (String.IsNullOrEmpty(implementPls))
            {
                return;
            }
            return;
        }

        public override void pleaseOverride(SpriteBatch spriteBatch)
        {
            //String textmsg = "CConcreteTest: pleaseOverride()";
            //spriteBatch.DrawString(spriteFont, textmsg, new Vector2(150, 100), Color.Red, 0, new Vector2(0, 0), 1f, SpriteEffects.None, 0);

            spriteBatch.Draw(concreteTexture, new Rectangle(5, 5, 50, 80), Color.White);

        }


    }
}